//
//  RadioCollectionViewCell.m
//  A Cup
//
//  Created by dllo on 15/4/21.
//  Copyright (c) 2015年 doll. All rights reserved.
//

#import "RadioCollectionViewCell.h"

@implementation RadioCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myImageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0,self.contentView.frame.size.width , self.contentView.frame.size.width)];
        [self.contentView addSubview:self.myImageView];
        [_myImageView release];
        self.title = [[UILabel alloc]initWithFrame:CGRectMake(0, 80,self.contentView.frame.size.width, 20)];
        self.title.font = [UIFont systemFontOfSize:13];
        [self.title setTextColor:[UIColor colorWithRed:95 green:190 blue:125 alpha:1]];
        [self.contentView addSubview:self.title];
        [_title release];
        self.userName = [[UILabel alloc]initWithFrame:CGRectMake(0, self.contentView.frame.size.width , self.contentView.frame.size.width, 20)];
        self.userName.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:self.userName];
        [_userName release];
    }
    return self;
}
- (void)dealloc
{
    [_myImageView release];
    [_title release];
    [_userName release];
    [super dealloc];
}
@end
